package com.ruoyi.project.gxgw_modules.messageList.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 消息列管理表 cxj_message_list
 * 
 * @author ruoyi
 * @date 2019-01-24
 */
public class MessageList extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 序号 */
	@Excel(name="序号")
	private Integer mesListId;
	/** 标题 */
	@Excel(name="标题")
	private String listTitle;
	/** 详情 */
	@Excel(name="详情")
	private String listDetail;
	/** 图片 */
	private String listImage;
	/** 链接 */
	@Excel(name="链接")
	private String listUrl;
	/** 发布时间 */
	@Excel(name = "发布时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date listPublicTime;
	/** 删除标记 */
	@JsonIgnore
	private String delFlag;
	/** 用户名 */
	private Integer userId;
	/** 设备序号 */
	private Integer macId;

	public void setMesListId(Integer mesListId) 
	{
		this.mesListId = mesListId;
	}

	public Integer getMesListId() 
	{
		return mesListId;
	}
	public void setListTitle(String listTitle) 
	{
		this.listTitle = listTitle;
	}

	public String getListTitle() 
	{
		return listTitle;
	}
	public void setListDetail(String listDetail) 
	{
		this.listDetail = listDetail;
	}

	public String getListDetail() 
	{
		return listDetail;
	}
	public void setListImage(String listImage) 
	{
		this.listImage = listImage;
	}

	public String getListImage() 
	{
		return listImage;
	}
	public void setListUrl(String listUrl) 
	{
		this.listUrl = listUrl;
	}

	public String getListUrl() 
	{
		return listUrl;
	}
	public void setListPublicTime(Date listPublicTime) 
	{
		this.listPublicTime = listPublicTime;
	}

	public Date getListPublicTime() 
	{
		return listPublicTime;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setMacId(Integer macId) 
	{
		this.macId = macId;
	}

	public Integer getMacId() 
	{
		return macId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mesListId", getMesListId())
            .append("listTitle", getListTitle())
            .append("listDetail", getListDetail())
            .append("listImage", getListImage())
            .append("listUrl", getListUrl())
            .append("listPublicTime", getListPublicTime())
            .append("delFlag", getDelFlag())
            .append("userId", getUserId())
            .append("macId", getMacId())
            .toString();
    }
}
